package com.baitiaojun.auth.mapper;

import com.baitiaojun.api.domain.auth.UserRole;

import java.util.Set;

public interface UserRoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserRole record);

    int insertSelective(UserRole record);

    UserRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserRole record);

    int updateByPrimaryKey(UserRole record);

    Long selectRoleIdByUserId(Long userId);

    String selectRoleCodeByUserId(Long userId);
}